#ifndef GENERICDELETEDIALOG_H
#define GENERICDELETEDIALOG_H

#include <QDialog>
#include <ui_genericdeletewidget.h>

class GenericDeleteDialog : public QDialog
{
  Q_OBJECT
private:
  Ui::GenericDeleteWidget _gui;

public:
  GenericDeleteDialog(QWidget *parent = 0);

  void SetDeleteType (const QString& type);
  void SetDeleteMessage (const QString& msg);

  static bool Delete (QWidget* parent, const QString& type, const QString& msg);

private slots:
  void on_pushButtonYes_clicked ();
  void on_pushButtonNo_clicked ();

};

#endif // GENERICDELETEDIALOG_H
